package cn.iocoder.an.module.mold.controller.admin.equipmentkeepsetting.vo;

import cn.iocoder.an.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

import static cn.iocoder.an.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 保养项设置分页 Request VO")
@Data
public class EquipmentKeepSettingPageReqVO extends PageParam {

    @Schema(description = "保养项分类", example = "2")
    private Long keepType;

    @Schema(description = "保养项名称", example = "李四")
    private String name;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private boolean showCheckedOnly = false;

    private Long settingId;

    private List<Long> ids = new ArrayList<>();

}